import { IResult } from "@/types/common";
import { yxRequest } from "..";
import {Iregister} from "@/views/login/types";

/**
 * 生成验证码
 */
export function generateVerificationCode() {
    return yxRequest.post<IResult>({
        url: '/captcha'
    })
}

/**
 * 退出登录
 */
export function userLogout() {
  return yxRequest.get<IResult>({
      url: '/logout'
  })
}

